package com.kclm.mapper;

import com.kclm.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author : lvhx
 * @Date: 2025/10/29 13:35
 * @Description:
 */
public interface UserMapper {
    //根据用户名查找
    int   deleteById(Long id);
    //根据id查询用户
    User  selectById(Long id);
    //分页查询
    List<User>  selectByPage(@Param("startIndex") Integer startIndex,@Param("pageSize") Integer pageSize);
    //查询所有用户
    List< User> selectAll();

}
